home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
source
/
swagd-f
/
datetime.swg
/
0006_DATE5.PAS.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
326 b
|
11 lines
Procedure TheDate(Var Date:String;Var doW:Integer);
Var
D,M,Y : Integer;
begin
GetDate(Y,M,D,doW);
Date:=chr((M div 10)+48)+chr((M mod 10)+48)+'-'+chr((D div 10)+48+
chr((D mod 10)+48)+'-'+chr(((Y mod 100) div 10)+48)+
chr(((Y mod 100) mod 10)+48);
if Date[1]='0' then Date[1]:=' ';
end;